import request from "@/utils/request";

export function getProductList(data) {
  return request({
    url: '/banking/product/productList',
    method: 'get',
    params: data
  })
}

export function getProductMsg(data) {
  return request({
    url: '/banking/product/getProductMsg',
    method: 'get',
    params: data
  })
}

export function letuout(data) {
  return request({
    url: '/banking/product/letuout',
    method: 'post',
    data: data
  })
}

export function getProvince(data) {
  return request({
    url: 'housing/region/getProvince',
    method: 'get',
    params: data
  })
}

export function apiUpdateProduct(data) {
  return request({
    url: '/banking/product/updateProduct',
    method: 'put',
    data: data
  })
}

export function apiSaveProduct(data) {
  return request({
    url: '/banking/product/saveProduct',
    method: 'post',
    data: data
  })
}

export function apiGetCapName() {
  return request({
    url: '/banking/product/getCapName',
    method: 'get'
  })
}
